package com.aiwiown.face.domain.facialfeatures;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * @ClassName : Parts
 * @Description :
 * @Author : dbin0123
 * @Date: 2020-05-23 11:02
 */
public class Parts extends ApiObject {
    private static final long serialVersionUID = -1345191315974780609L;

    /**
     * 返回三庭比例，保留至小数点后两位，若为0，则返回null
     */
    @ApiField(value = "parts_ratio")
    private String partsRatio;
    /**
     * 返回上庭分析结果
     */
    @ApiField(value = "one_part")
    private Part onePart;
    /**
     * 返回中庭分析结果
     */
    @ApiField(value = "two_part")
    private Part twoPart;
    /**
     * 返回中下庭分析结果
     */
    @ApiField(value = "three_part")
    private Part threePart;

    public String getPartsRatio() {
        return partsRatio;
    }

    public void setPartsRatio(String partsRatio) {
        this.partsRatio = partsRatio;
    }

    public Part getOnePart() {
        return onePart;
    }

    public void setOnePart(Part onePart) {
        this.onePart = onePart;
    }

    public Part getTwoPart() {
        return twoPart;
    }

    public void setTwoPart(Part twoPart) {
        this.twoPart = twoPart;
    }

    public Part getThreePart() {
        return threePart;
    }

    public void setThreePart(Part threePart) {
        this.threePart = threePart;
    }
}
